<template>
    <div class="container">
        <div class="title">服务器管理</div>
        <el-table :data="tableData" @row-click="rowClick" style="width: 100%">
            <el-table-column type="index" width="120" align="center" label="服务器序号">
            </el-table-column>
            <el-table-column prop="name" align="center" label="服务器名称">
            </el-table-column>
            <el-table-column prop="time" align="center" label="创建时间">
            </el-table-column>
            <el-table-column prop="status" align="center" label="服务器状态">
            </el-table-column>
            <el-table-column prop="info" align="center" width="400" label="服务器信息">
            </el-table-column>
            <el-table-column align="center">
                <template>
                <a href="javascript:;">管理 ></a>
                </template>
            </el-table-column>
        </el-table>
    </div>
</template>
<script>

    export default {
        name: "fwqManage",
        data(){
            return {
                "tableData":[
                    {
                    "time": "2016-05-02",
                    "name": "服务器1",
                    "status": "运行中",
                    "info": "Inter i9-12900 16G 2T 3080Ti * 3"
                    },
                    {
                    "time": "2016-05-02",
                    "name": "服务器2",
                    "status": "运行中",
                    "info": "Inter i9-12900 16G 2T 3080Ti * 3"
                    },
                    {
                    "time": "2016-05-02",
                    "name": "服务器3",
                    "status": "运行中",
                    "info": "Inter i9-12900 16G 2T 3080Ti * 3"
                    },
                    {
                    "time": "2016-05-02",
                    "name": "服务器4",
                    "status": "休眠中",
                    "info": "Inter i9-12900 16G 2T 3080Ti * 3"
                    },
                    {
                    "time": "2016-05-02",
                    "name": "服务器5",
                    "status": "宕机中",
                    "info": "Inter i9-12900 16G 2T 3080Ti * 3"
                    },
            ]
            }
        },
        methods:{
            rowClick(){
                
            }
        }
    }
</script>

<style scoped>
    .container{
        width: 80%;
    }
</style>